#pragma once
#include "CMarkupExtensionBase.h"

class CustomResourceExtension :
	public CMarkupExtensionBase
{

public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual ~CustomResourceExtension();
	virtual XUINT32 GetTypeIndex() const;
	virtual HRESULT ProvideValue(const xshared_ptr<XamlCommonServiceProviderContext> & spServiceProviderContext, xshared_ptr<XamlQualifiedObject> & qoValue);
	CXString * m_pResourceKey;

private: 
	CustomResourceExtension(CCoreServices * pCore);
};